invalidateVirtualView

fun invalidateVirtualView(virtualViewId: Int)(source)

Notifies the accessibility framework that the properties of a particular item have changed.

You must call this method after changing any of the properties set in onPopulateNodeForVirtualView.

Parameters

virtualViewId

the virtual view id to invalidate, or HOST_ID to invalidate the root view

See also


fun invalidateVirtualView(virtualViewId: Int, changeTypes: Int)(source)

Notifies the accessibility framework that the properties of a particular item have changed.

You must call this method after changing any of the properties set in onPopulateNodeForVirtualView.

Parameters

virtualViewId

the virtual view id to invalidate, or HOST_ID to invalidate the root view

changeTypes

the bit mask of change types. May be 0 for the default (undefined) change type or one or more of: